package com.wiseman.writing;

import android.content.ContentValues;
import android.database.Cursor;

import com.wiseman.writing.utility.database.WDatabase.DbData;

class StrokeDBData extends DbData implements ConstValue{
	
	String mChars;

	StrokeDBData() {
		super();
	}

	StrokeDBData(String chars) {
		super();
		mChars = chars;
	}

	@Override
	public void fillOtherData(ContentValues initVal) {
		initVal.put(KEY_CHARS, mChars);
	}

	@Override
	public void getOtherData(Cursor c) {	
		mChars = c.getString(c.getColumnIndex(KEY_CHARS));
	}

}